<template>
    <slot message="Hello 默认插槽"></slot>
    <hr>
    <slot message="Hello Vue.js" name="header"></slot>
    <hr>
    <slot :uesr="user" name="user"></slot>
</template>

<script setup>
    import { reactive } from 'vue'
    const user = reactive({
        name: 'Bill',
        age: '15'
    })
</script>